package com.sanyang.pda.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.sanyang.pda.bean.CrossDockingBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;
import com.wangshen.projectbase.R;

import java.util.List;

public class CrossDockingAdapter extends BaseAdapter<CrossDockingBean> {
    public CrossDockingAdapter(int layoutResId, @Nullable List<CrossDockingBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CrossDockingBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_title,item.getCrossNo());
        helper.setText(R.id.tv_creation_time,item.getCreateTime());
        helper.setText(R.id.tv_out_order,item.getDeliveryNo());
        helper.setText(R.id.tv_in_order,item.getEntryNo());
        helper.setText(R.id.tv_stay_out_area,item.getWareareaId());
    }
}
